package com.ishowcode.service;

import com.ishowcode.entity.Filebean;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface FileInfoService {
    public Filebean getFileByName(String fileName);
    public Filebean getFileById(String fileId);
    public List<Filebean> getFileByUserId(String UserId);
    public Integer addFile(Filebean filebean);
    public Integer deleteByFileId(String fileId);
    public List<Filebean> getFileByMohu(String userId,String input);
    public List<Filebean> getFloderByUserId(String userId);
    public Integer updatefileById(Filebean  file);
    public List<Filebean> getFileByPid(String userId,String pid);
    public List<Filebean> getFileByType(String userId,String type,String input);
}
